//
//  UILayoutView.h
//  HelloWorld
//
//  Created by Mac Book-1 on 10-7-1.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "UIViewBase.h"

@interface UILayoutView : UIViewBase {
@private
	bool autoFitFrame;//是否根据子视图大小来确定大小,主要是frame的高度
	int style;//排列方式,0为水平,1为垂直  UIViewBase中的interval两子视图的间隔,style = 0 为左右间隔,style = 1 为上下间隔
}

@property(nonatomic) bool autoFitFrame;
@property(nonatomic) int style;

- (id)initWithFrame:(CGRect)aRect;
- (void)layoutSubviews;

- (void)adjustFrame:(UIView *)view;

@end
